
call "c:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" x86

del buildlog.txt

for /d %%x in (*) do (
    if exist "%%x\%%x.sln" (
        cd "%%x"
        devenv "%%x.sln" /build debug >> ..\buildlog.txt
        devenv "%%x.sln" /build release >> ..\buildlog.txt
        cd .. ) )

cd .

